using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using ThunderJob.Domain.Specifications;

namespace ThunderJob.Domain.PersistenceInterfaces
{
    public interface ILinqRepository<T> : IRepository<T>
    {
        T Obtener(ILinqSpecification<T> predicate);
        IQueryable<T> ObtenerTodos();
        IQueryable<T> ObtenerTodos(ILinqSpecification<T> predicate);
    }
}